package com.sc.pattern.simplelistener;

/**
 * Created  on 2018/1/6.
 *
 * @author sc
 */
public class OneObserver extends Observer {


    public OneObserver(Subject subject) {
        super(subject);
    }

    @Override
    public void update() {
        System.out.println("One 状态:"+subject.getState());
    }
}
